package cn.linkpower.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "user")
public class User2 implements Serializable {

    @TableId(value = "id")
    private Long id;

    @TableField(value = "user_name")
    private String userNames;
    @TableField(value = "user_age")
    private Integer userAges;
    //@TableField(value = "user_email")
    private String userEmail;
}
